<?php
/**
 * connect.php - the MySQL connection
 *
 * NMIT BIT Project - Infinity - A 3D Website using WebGL & HTML5 Technology
 * Infinity Grid Version 
 * Version: 1.0 Beta 2
 *
 * Author: William Liu <qzliuyuzou@gmail.com> <lyzdev@gmail.com>
 *
 * Required Server Version:
 *  PHP5 or higher
 *  MySQL 5 or higher
 *
 * Required Browser Version:
 *  Google Chrome 9 or higher
 *  Mozilla Firefox 4 Beta or higher
 *  *Apple Safari
 *
 * Copyright (c) 2011, William Liu All rights reserved.
 * Infinity is an open source 3D website project
 * Under Apache License 2.0
 * http://www.lyzsoft.cn
 * http://7cloud.wordpress.com
 *
 * Project Starting date: 9/3/2011
 * Update Date 1: 19/3/2011
 * Update Date 2: 24/3/2011
 * Update Date 3: 6/5/2011
 * Update Date 4: 5/6/2011 - Beta 2
 *
**/
?>

<?php
//deny the access directly
if(!defined('INCLUDE_CHECK')) die('Access Forbidden! You are not allow to execute this file directly!');

$db_host="localhost";
$db_user="root";
$db_pass="P@ssword1";
$db_name="PRJ_Nova";
$timezone="Pacific/Auckland";

$db_connection=mysql_connect($db_host,$db_user,$db_pass);
mysql_select_db($db_name,$db_connection);
mysql_query("SET names UTF8");

//header("Content-Type: text/html; charset=utf-8");
//set timezoon to NZT
date_default_timezone_set($timezone);
?>
